{% extends "base.html" %}
{% block title %}注册{% endblock %}
{% block body_content %}

 <div class="container">
      <form class="form-horizontal center-block" method="post">
        {{ form.hidden_tag() }}
          <h2 class="form-signin-heading">Please sign in</h2>
          <div class="form-group center-block">
            <label class="col-sm-2 control-label">Name</label>
            <div class="col-sm-5">
              <!--<input type="email" class="form-control" id="inputEmail3" placeholder="Name">-->
              {{ form.username(class="form-control",placeholder="Name") }}
            </div>
          </div>
          <div class="form-group center-block">
            <label class="col-sm-2 control-label">Email</label>
            <div class="col-sm-5">
              <!--<input type="email" class="form-control" id="inputEmail3" placeholder="Email">-->
              {{ form.email(class="form-control",placeholder="Email") }}
            </div>
          </div>
          <div class="form-group">
            <label class="col-sm-2 control-label">Password</label>
            <div class="col-sm-5">
              <!--<input type="password" class="form-control" id="inputPassword3" placeholder="Password">-->
              {{ form.password(class="form-control",placeholder="Password") }}
            </div>
          </div>
        <div class="form-group center-block">
          <!--<button class="btn btn-primary" type="submit"> 注册</button>-->
          {{ form.submit(class="btn btn-primary") }}
          <button class="btn btn-primary" type="submit"> 返回</button>
        </div>
      </form>
  </div>
{% endblock %}
